package so.sao.shop.supplier.pojo.output.app;/**
 * Created by wyy on 2017/11/14.
 */



import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <p>Version: supplier V1.1.0 </p>
 * <p>Title: AppPurchaseDetailOutput</p>
 * <p>Description: </p>
 *
 * @author: yiyun.wang
 * @Date: Created in 2017/11/14 11:51
 */
public class AppPurchaseDetailOutput {


    /**
     *收货人
     */

    private String orderReceiverName;

    /**
     *收货人电话
     */

    private String orderReceiverMobile;

    /**
     *收货人地址
     */

    private String orderAddress;

    /**
     *商品金额
     */

    private String orderPrice;


    /**
     *下单时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date orderCreateTime;

    /**
     *支付时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date  orderPaymentTime;

    /**
     *订单拒收时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date  orderRefuseTime;

    /**
     *退款时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date  drawbackTime;

    /**
     *发货时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date  deliverGoodsTime;

    /**
     *收货时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date  orderReceiveTime;

    /**
     *取消时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date orderCancelTime;

    /**
     *支付流水号
     */

    private String orderPaymentNum;

    /**
     *总运费
     */

    private String orderPostage;

    /**
     *优惠金额
     */

    private BigDecimal discount;

    /**
     *优惠券id
     */

    private Long couponId;

    /**
     * 订单的上一个状态
     */
    private Integer prefixOrderStatus;

    /**
     *订单状态（1.待付款,3和19为已发货,4.已完成,5.已拒收退款审核,6.已退款）
     */

    private Integer orderStatus;

    /**
     *支付单号
     */

    private String payId;
    /**
     * 订单id ，（前端显示用）
     */
    private String orderId;
    /**
     * 供应商信息
     */
    private List<SupplierItemVo> supplierItemVos = new ArrayList<>();

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderReceiverName() {
        return orderReceiverName;
    }

    public void setOrderReceiverName(String orderReceiverName) {
        this.orderReceiverName = orderReceiverName;
    }

    public String getOrderReceiverMobile() {
        return orderReceiverMobile;
    }

    public void setOrderReceiverMobile(String orderReceiverMobile) {
        this.orderReceiverMobile = orderReceiverMobile;
    }

    public String getOrderAddress() {
        return orderAddress;
    }

    public void setOrderAddress(String orderAddress) {
        this.orderAddress = orderAddress;
    }

    public String getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(String orderPrice) {
        this.orderPrice = orderPrice;
    }

    public Date getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(Date orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public Date getOrderPaymentTime() {
        return orderPaymentTime;
    }

    public void setOrderPaymentTime(Date orderPaymentTime) {
        this.orderPaymentTime = orderPaymentTime;
    }

    public Date getOrderRefuseTime() {
        return orderRefuseTime;
    }

    public void setOrderRefuseTime(Date orderRefuseTime) {
        this.orderRefuseTime = orderRefuseTime;
    }

    public Date getDrawbackTime() {
        return drawbackTime;
    }

    public void setDrawbackTime(Date drawbackTime) {
        this.drawbackTime = drawbackTime;
    }

    public Date getDeliverGoodsTime() {
        return deliverGoodsTime;
    }

    public void setDeliverGoodsTime(Date deliverGoodsTime) {
        this.deliverGoodsTime = deliverGoodsTime;
    }

    public Date getOrderReceiveTime() {
        return orderReceiveTime;
    }

    public void setOrderReceiveTime(Date orderReceiveTime) {
        this.orderReceiveTime = orderReceiveTime;
    }

    public Date getOrderCancelTime() {
        return orderCancelTime;
    }

    public void setOrderCancelTime(Date orderCancelTime) {
        this.orderCancelTime = orderCancelTime;
    }

    public String getOrderPaymentNum() {
        return orderPaymentNum;
    }

    public void setOrderPaymentNum(String orderPaymentNum) {
        this.orderPaymentNum = orderPaymentNum;
    }

    public String getOrderPostage() {
        return orderPostage;
    }

    public void setOrderPostage(String orderPostage) {
        this.orderPostage = orderPostage;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getPayId() {
        return payId;
    }

    public void setPayId(String payId) {
        this.payId = payId;
    }

    public List<SupplierItemVo> getSupplierItemVos() {
        return supplierItemVos;
    }

    public void setSupplierItemVos(List<SupplierItemVo> supplierItemVos) {
        this.supplierItemVos = supplierItemVos;
    }

    public Integer getPrefixOrderStatus() {
        return prefixOrderStatus;
    }

    public void setPrefixOrderStatus(Integer prefixOrderStatus) {
        this.prefixOrderStatus = prefixOrderStatus;
    }

    @Override
    public String toString() {
        return "AppPurchaseDetailOutput{" +
                "orderReceiverName='" + orderReceiverName + '\'' +
                ", orderReceiverMobile='" + orderReceiverMobile + '\'' +
                ", orderAddress='" + orderAddress + '\'' +
                ", orderPrice='" + orderPrice + '\'' +
                ", orderCreateTime=" + orderCreateTime +
                ", orderPaymentTime=" + orderPaymentTime +
                ", orderRefuseTime=" + orderRefuseTime +
                ", drawbackTime=" + drawbackTime +
                ", deliverGoodsTime=" + deliverGoodsTime +
                ", orderReceiveTime=" + orderReceiveTime +
                ", orderCancelTime=" + orderCancelTime +
                ", orderPaymentNum='" + orderPaymentNum + '\'' +
                ", orderPostage='" + orderPostage + '\'' +
                ", discount=" + discount +
                ", couponId=" + couponId +
                ", prefixOrderStatus=" + prefixOrderStatus +
                ", orderStatus=" + orderStatus +
                ", payId='" + payId + '\'' +
                ", orderId='" + orderId + '\'' +
                ", supplierItemVos=" + supplierItemVos +
                '}';
    }
}
